<template>
  <div class="dashboard-container">
    <div class="dashboard-text">数据概览</div>
    <panel-group />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import PanelGroup from './components/PanelGroup.vue'

export default {
  name: 'Dashboard',
  components: { PanelGroup },

  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
 .dashboard-graph{
    display: flex;
    justify-content: space-between;
    align-items: center;
    .graph{
      padding: 10px;
      width: 23%;
      height: 200px;
      background-color: blue;
      .title{
        height: 30px;
        line-height: 30px;
      }
    }
  }
</style>
